package com.woniuxy.service;

import com.woniuxy.entity.OrderEntity;
import com.woniuxy.entity.ResponseEntity;



public interface OrderService {
    //查询所有的订单
    ResponseEntity findAllOrder();
    //根据订单编号查找订单
    ResponseEntity findAllOrderByNum(String order_num);
    //新增一条订单信息
    ResponseEntity addOneOrder(OrderEntity  orderEntity);
    //更新订单信息
    ResponseEntity updateOrder(OrderEntity  orderEntity);
    //删除订单信息  根据订单号
    ResponseEntity deleteOrder(String order_num);
    //下发订单信息  更改订单状态
    ResponseEntity positionOrder(String order_num);
    //撤回订单信息  更改订单状态
    ResponseEntity handleExit(String order_num);
    //终止订单信息  更改订单进度
    ResponseEntity termination(String order_num);
    //分页
    ResponseEntity findAllByPage(int currentPage, int pageSize);
    //查询订单详情
    ResponseEntity detailOrder(String order_num);
    //查询产品编码
    ResponseEntity materialCodeData();
    //根据产品编码查找对应的产品名称和类型
    ResponseEntity productionNameAndType(String material_code);
    //根据产品编码查找产品单价
    ResponseEntity productionPrice(String material_code);
    //查找客商姓名
    ResponseEntity findMerchantsName();
    //根据客商姓名查找客商优先级
    ResponseEntity getmerchants_grade(String name);
}
